<ion-header>
    <ion-toolbar color="light">
        <ion-buttons start >
            <button ion-button icon-only navPop>
                <ion-icon name="arrow-back" ></ion-icon>
            </button>
        </ion-buttons>
        <ion-title>{{ 'more.resetl' | translate }}</ion-title>
    </ion-toolbar>
</ion-header>
<ion-content>
    <div class="reset-content">
        <div class="reset-form-input">
            <input type="{{ firstpwd }}" class="pwd" :placeholder="{{ 'input.opwd' | translate }}" [(ngModel)]="form.oldpassword">
            <i class="iconfont " (click)="toggle(0)"></i>
        </div>
        <div class="reset-form-input">
            <input type="{{ againpwd }}" class="pwd" :placeholder="{{ 'input.newpwd' | translate }}" [(ngModel)]="form.newpassword">
            <i class="iconfont " (click)="toggle(1)"></i>
        </div>
        <div class="reset-form-input">
            <input type="text" class="code"  :placeholder="{{ 'input.rcode' | translate }}" [(ngModel)]="form.captcha">
            <button ion-button class="btn" (click)="goCode()">{{ 'more.getcode' | translate }}</button>
        </div>
        <button ion-button (click)="goSub()">{{ 'more.Reset' | translate }}</button>
    </div>
</ion-content>